POV-Ray : Newsgroups : povray.beta-test : [function pattern] : [function pattern] Server Time
5 Nov 2024 03:18:22 EST (-0500)
  [function pattern]  
From: Jan Walzer
Date: 7 Sep 2001 12:00:25
Message: <3b98ef19@news.povray.org>
the following gives an error ...

----------
#declare P2=function {pattern {crackle solid}}
#declare G=
    function

        #local Faktor=<1,1,1>*0.75;
        P2(x*(Faktor.x+0),y*(Faktor.y+0),z*(Faktor.z+0))
    }  //     ^^^^^^------ Expected 'operand', vector function 'vector
identifier' found instead
----------

Am I wrong ?
BTW: the parentheses and the "+0" is only because I tried to force some
"casting" ... it seems there is no such way ...

--
Jan Walzer <jan### [at] lzernet>


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.